#ifndef EXITDIALOG_H
#define EXITDIALOG_H

#include <QDialog>
#include "ui_exitdialog.h"
#include <QCloseEvent>
#include <QDebug>
namespace Ui {
class ExitDialog;
}

class ExitDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ExitDialog(QWidget *parent = 0);
    ~ExitDialog();

private:
    Ui::ExitDialog *ui;

signals:
     void exitClose(int x);

protected:
     void closeEvent(QCloseEvent *event);
private slots:
     void on_zexit_pushButton_clicked();
     void on_qexit_pushButton_clicked();
};

#endif // EXITDIALOG_H
